﻿@{
    var _namespace = Model.ShareEntityNamespace.Replace("\\", ".");
    var ShareEntity_namespace = Model.ShareEntityNamespace.Replace("\\", ".");
    var ServerEntity_namespace = Model.ServerEntityNamespace.Replace("\\", ".");
    var ServerDao_namespace = Model.ServerDaoNamespace.Replace("\\", ".");
}
using @ShareEntity_namespace.@Model.SonPath;
using Infrastructure.Attributes.Ioc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using ShareCode.Dto;

namespace @ServerDao_namespace.@Model.SonPath
{
    /// <summary>
    /// by zhouxin
    ///</summary>
    [Component]
    public class @(Model.TableInfo.ClassName)Dao: Base@(Model.PClass)Dao<@(Model.TableInfo.ClassName)Entity>
    {
    public override Expressionable<@(Model.TableInfo.ClassName)Entity> GetSearchExpression(SearchDto pars)
        {
            var whereExpression = base.GetSearchExpression(pars);

            return whereExpression;
        }
    }
}
